<template>
  <div>
    <el-card shadow="hover">
      <div slot="header" class="clearfix">
        <el-input v-model="form.user" placeholder="题解标题"></el-input>
      </div>
      <div>
        <v-md-editor v-model="content" height="800px"></v-md-editor>
      </div>

    </el-card>
  </div>
</template>
<script>
export default {
  name: "problem-answer-write",
  data() {
    return {
      form: {},
      content: "```java \n" +
        "public void static main (String[] args){\n\n\n}\n" +
        "```",
    }
  },
}
</script>

<style scoped>
::v-deep .github-markdown-body {
  padding: 16px 32px 32px !important;
}

.clearfix {
  display: flex;
}
</style>